﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L11
{
    class Program
    {
        static void Main(string[] args)
        {
            //宠物店
            PetShop per = new PetShop();
            Tiger tiger = new Tiger();
            per.Petshop(tiger);

            Console.WriteLine("----------------------");

            Cat cat = new Cat();
            per.Petshop(cat);

            Console.WriteLine("----------------------");

            Eagle eagle = new Eagle();
            per.Petshop(eagle);

            Console.WriteLine("----------------------");

            Swallow swallow = new Swallow();
            per.Petshop(swallow);

            Console.ReadLine();
        }
    }
}
